package srecord

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ SipsSrecordModel = (*customSipsSrecordModel)(nil)

type (
	// SipsSrecordModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSipsSrecordModel.
	SipsSrecordModel interface {
		sipsSrecordModel
	}

	customSipsSrecordModel struct {
		*defaultSipsSrecordModel
	}
)

// NewSipsSrecordModel returns a model for the database table.
func NewSipsSrecordModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) SipsSrecordModel {
	return &customSipsSrecordModel{
		defaultSipsSrecordModel: newSipsSrecordModel(conn, c, opts...),
	}
}
